package astra.client.models;

import astra.client.services.HasId;

import java.util.Date;

/**
 * @author Kotelnikov Dmitry <a href="mailto:dimonnot@mail.ru"/>
 */
public class Purchase implements HasId{
    private int id;
    private String service;
    private int supplierId;
    private String supplier;
    private Date confirmDate;
    private String address;
    private String material;
    private String advertisment;
    private int brandSupplierId;
    private String photoReport;
    private int managerId;
    private String manager;
    private int accountId;
    private String account;
    private boolean model;
    private String description;
    private String contractNumber;
    private Double brokersFee;
    private String brokersFeeComment;
    private Double accountSalary;
    private Double managerSalary;
    private Double additionalPayments;
    private String paymentsComment;
    private int clientId;

    public Purchase() {
    }

    public Purchase(int id, int supplierId, Date confirmDate, String address, String material,
                    String advertisment, int brandSupplierId, String photoReport, int managerId,
                    int accountId, boolean model, String description, String contractNumber, Double brokersFee,
                    String brokersFeeComment, Double accountSalary, Double managerSalary, Double additionalPayments,
                    String paymentsComment, String supplier, String service, String manager, String account,
                    int clientId) {
        this.id = id;
        this.supplierId = supplierId;
        this.confirmDate = confirmDate;
        this.address = address;
        this.material = material;
        this.advertisment = advertisment;
        this.brandSupplierId = brandSupplierId;
        this.photoReport = photoReport;
        this.managerId = managerId;
        this.accountId = accountId;
        this.model = model;
        this.description = description;
        this.contractNumber = contractNumber;
        this.brokersFee = brokersFee;
        this.brokersFeeComment = brokersFeeComment;
        this.accountSalary = accountSalary;
        this.managerSalary = managerSalary;
        this.additionalPayments = additionalPayments;
        this.paymentsComment = paymentsComment;
        this.supplier = supplier;
        this.service = service;
        this.manager = manager;
        this.account = account;
        this.clientId = clientId;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    public Date getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Date confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getAdvertisment() {
        return advertisment;
    }

    public void setAdvertisment(String advertisment) {
        this.advertisment = advertisment;
    }

    public int getBrandSupplierId() {
        return brandSupplierId;
    }

    public void setBrandSupplierId(int brandSupplierId) {
        this.brandSupplierId = brandSupplierId;
    }

    public String getPhotoReport() {
        return photoReport;
    }

    public void setPhotoReport(String photoReport) {
        this.photoReport = photoReport;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public int getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

    public boolean isModel() {
        return model;
    }

    public void setModel(boolean model) {
        this.model = model;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public Double getBrokersFee() {
        return brokersFee;
    }

    public void setBrokersFee(Double brokersFee) {
        this.brokersFee = brokersFee;
    }

    public String getBrokersFeeComment() {
        return brokersFeeComment;
    }

    public void setBrokersFeeComment(String brokersFeeComment) {
        this.brokersFeeComment = brokersFeeComment;
    }

    public Double getAccountSalary() {
        return accountSalary;
    }

    public void setAccountSalary(Double accountSalary) {
        this.accountSalary = accountSalary;
    }

    public Double getManagerSalary() {
        return managerSalary;
    }

    public void setManagerSalary(Double managerSalary) {
        this.managerSalary = managerSalary;
    }

    public Double getAdditionalPayments() {
        return additionalPayments;
    }

    public void setAdditionalPayments(Double additionalPayments) {
        this.additionalPayments = additionalPayments;
    }

    public String getPaymentsComment() {
        return paymentsComment;
    }

    public void setPaymentsComment(String paymentsComment) {
        this.paymentsComment = paymentsComment;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getClientId() {
        return clientId;
    }

    public void setClientId(int clientId) {
        this.clientId = clientId;
    }
}
